//
//  VideoLivingViewController.m
//  LiveRoom
//
//  Created by Vicky Cao on 8/13/14.
//  Copyright (c) 2014 Vicky Cao. All rights reserved.
//

#import "VideoLivingViewController.h"

@interface VideoLivingViewController ()

@end

@implementation VideoLivingViewController

- (void)initSender{
    [XpaiInterface initAudioSession:MOVIE_RECORD];
    [XpaiInterface setDelegate:self];
    [XpaiInterface initRecorder:AVCaptureDevicePositionFront workMode:VIDEO_MODE resolution:RESOLUTION_LOW audioSampleRate:22050 focusMode:AVCaptureFocusModeAutoFocus torchMode:AVCaptureTorchModeOff glView:nil prevRect:CGRectMake(0, 0, 320, 240)];
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
